﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaiTu.ILogging
{
    /// <summary>
    /// 日志接口
    /// </summary>
    public interface ILogger //: IBaseLogging
    {
        /// <summary>
        /// 指定的日志级别是否可用
        /// </summary>
        /// <param name="level"></param>
        /// <returns></returns>
        bool IsEnabled(LogLevel level);

        void Log(LogLevel level, Exception exception, string format, params object[] args);
    }
}
